﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using NetDon.Utilities;

namespace NetDon.OA.Interface
{
    [Serializable]

    public class IssuingOrderOnWayTrackData : eLogiticsDomainObject
    {

        public Guid Id { get; set; }
        public Guid? AreaId { get; set; }
        public Guid IssuingOrderId { get; set; }

        public int? GoodsTravelDays { get; set; }

        public DateTime? PlannedGoodsDeliveredDate { get; set; }

        public string GoodsCurrentPlace { get; set; }

        public DateTime? ActualDeliveredDate { get; set; }


        public bool IsGoodsDelayed { get; set; }
        public bool IsGoodsExceptional { get; set; }

        public int GoodsDelayedDays { get; set; }
        public int? GoodsTravelDaysUnit { get; set; }

        public IEnumerable<IssuingOrderOnWayTrackCommentData> IssuingOrderOnWayTrackCommentList { get; set; }
        public IEnumerable<IssuingOrderOnWayTrackHistoryData> IssuingOrderOnWayTrackHistoryList { get; set; }
        public IssuingOrderOnWayTrackHistoryData NewIssuingOrderOnWayTrackHistory { get; set; }

        public DateTime? LastGoodsCurrentPlaceUpdatedDate { get; set; }
        public Guid? LastGoodsCurrentPlaceUpdatedBy { get; set; }

    }
    [Serializable]
    public class IssuingOrderOnWayTrackCommentData : eLogiticsDomainObject
    {
        public Guid Id { get; set; }
        public Guid? AreaId { get; set; }
        public Guid? IssuingOrderOnWayTrackId { get; set; }
        public string GoodsDelayedReasons { get; set; }


        public string Remark { get; set; }

        public string Exceptions { get; set; }
    }

    [Serializable]
    public class IssuingOrderOnWayTrackHistoryData : eLogiticsDomainObject
    {

        public Guid? IssuingOrderOnWayTrackId { get; set; }
        public string GoodsCurrentPlace { get; set; }


    }

}